//
//  WBStatusPic.swift
//  SinaWebo
//
//  Created by 亚杏 on 2017/5/24.
//  Copyright © 2017年 oms. All rights reserved.
//

import UIKit

//微博配图模型
class WBStatusPic: NSObject {

    //缩略图地址
    var thumbnail_pic: String? {

        didSet {
            
            //设置大尺寸图片
            largePic = thumbnail_pic?.replacingOccurrences(of: "/thumbnail/", with: "/large/")
            
           //更改缩略图地址
            thumbnail_pic = thumbnail_pic?.replacingOccurrences(of: "/thumbnail/", with: "/wap360/")
        }
    }
    
    //大尺寸图
    var largePic: String?


    override var description: String{
        return yy_modelDescription()
    }
}
